const fetch = require('node-fetch');
const { getAntiContent } = require('./20250314-run.js');

// fetch('https://api.pinduoduo.com/api/ktt_group/goods_library/material/query_page?page_number=1&page_size=10&keyword=&category_id=&sign=686EC8445BFA81618C3A62BB3369D17D&signVersion=sv1&timestamp=1741961382411', {
//   headers: {
//     'accept': 'application/json, text/plain, */*',
//     'accept-language': 'zh-CN,zh;q=0.9,en;q=0.8,zh-TW;q=0.7',
//     'accesstoken': 'FFI246EXOUGFUKX25C3RGY7SEEHO3GMR6FIK7PVXPSBHMFBWRWJA1200774',
//     'anti-content': getAntiContent(),
//     'origin': 'https://ktt.pinduoduo.com',
//     'priority': 'u=1, i',
//     'referer': 'https://ktt.pinduoduo.com/',
//     'sec-ch-ua': '"Chromium";v="134", "Not:A-Brand";v="24", "Google Chrome";v="134"',
//     'sec-ch-ua-mobile': '?0',
//     'sec-ch-ua-platform': '"Windows"',
//     'sec-fetch-dest': 'empty',
//     'sec-fetch-mode': 'cors',
//     'sec-fetch-site': 'same-site',
//     'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36',
//     'cookie': '_bee=j4sFD92EXhkNW1g6CBXTtVFhzZfFD0yO; _f77=eff1e851-acec-4086-a75c-8103cb0a5907; _a42=be292171-864e-45ac-a08b-68971f365e12; rckk=j4sFD92EXhkNW1g6CBXTtVFhzZfFD0yO; ru1k=eff1e851-acec-4086-a75c-8103cb0a5907; ru2k=be292171-864e-45ac-a08b-68971f365e12; JSESSIONID=1C3FEBF2259448375A78D6BC542811C3; api_uid=CiYY3mY83oxmEABoQxZcAg=='
//   }
// })
// .then(res => res.json())
// .then(json => console.log(json));
